package com.hourses.service;

import com.hourses.page.Page;
import com.hourses.pojo.InStore;
import com.hourses.pojo.Purchase;
import com.hourses.pojo.Result;

public interface PurchaseService {

    //向buy_list表中插入数据
    public Result addBuyList( Purchase purchase);

    //查询采购列表
    public Result selectBuyList(Purchase purchase, Page page);

    //删除采购单
    public Result deleteBuyList(Integer buyId);

    //修改采购单
    public Result updateBuyList(Purchase purchase);

    //生成入库单
    public Result createInStoreData(InStore inStore);
}
